debian/rules: Ensure all symbols are defined
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 8 Jul 2021 03:07:47 +0000 (05:07 +0200)
committerMarco Trevisan (Treviño) <marco@ubuntu.com>
Fri, 9 Jul 2021 14:02:45 +0000 (16:02 +0200)
This is now working fine with all the components

debian/rules

index a6e07311a79e19ac21a2f6ce80d7be25a54b51cd..6d4eeeafd14861ca078257c3c6abdcbe4ce0cf58 100755 (executable)
@@ -9,8 +9,7 @@ built_binaries := $(shell dh_listpackages)
 all_binaries := $(shell sed -ne 's/^Package: *//p' < debian/control)
 
 # Ensure the build aborts when there are still references to undefined symbols
-# currently fails at least in the im-multipress im module
-#LDFLAGS += -Wl,-z,defs
+LDFLAGS += -Wl,-z,defs
 
 # Make the linker work a bit harder so dynamic loading can be done faster
 LDFLAGS += -Wl,-O1